package com.yegs.jltqc.service;

import com.yegs.jltqc.TO.NamePageQuery;
import com.yegs.jltqc.TO.QualityPageQuery;
import com.yegs.jltqc.VO.Quality;
import org.springframework.data.domain.Page;

import java.util.List;

public interface QualityService {

    Quality save(Quality quality);

    List<Quality> list();

    Long getNext(Long id);

    Long getLast(Long id);

    Quality get(Long id);

    void del(Long id);
    Page<Quality> query(QualityPageQuery query);
}
